#include "CLoader.h"

int main(int argc, char **argv)
{
	CLoader loader("/lib/libm.so.6");

	double (*cosine)(double);
	cosine  = (double (*)(double))loader.get_func("cos");

	cout << (*cosine)(2.0) << endl;
}
